package cn.lingyangwl.agile.misc.order.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 订单详情
 *
 * @author shenguangyang
 */
@Getter
@Setter
@ApiModel(value = "订单详情")
public class OrderDetailResp extends OrderDetailBase {
	@ApiModelProperty(value = "门店id")
	private Long tenantId;

	@ApiModelProperty(value = "总店id")
	private Long mainTenantId;

	@ApiModelProperty(value = "订单id")
	private Long orderId;

	@ApiModelProperty(value = "订单编号")
	private String orderNo;

	@ApiModelProperty(value = "配送状态")
	private String deliveryStatus;
	
	@ApiModelProperty(value = "配送单号")
	private String deliveryNo;
	
	@ApiModelProperty(value = "退款编号")
	private String refundNo;
	
	@ApiModelProperty(value = "退款状态")
	private String refundStatus;
	
	@ApiModelProperty(value = "退款金额")
	private BigDecimal refundApplyPrice;
	
	@ApiModelProperty(value = "退款申请金额")
	private String refundReason;
	
	@ApiModelProperty(value = "实际退款金额")
	private BigDecimal refundRealPrice;
	
	@ApiModelProperty(value = "实际退款时间")
	private LocalDateTime refundTime;
	
	@ApiModelProperty(value = "退款驳回原因")
	private String refundRefuseReason;
	
	@ApiModelProperty(value = "退款说明")
	private String refundRemark;
	
	@ApiModelProperty(value = "退货地址")
	private String refundAddress;
	
	@ApiModelProperty(value = "是否返还库存")
	private Boolean isRefundStock;
	
	@ApiModelProperty(value = "退款方式   1. 原路退款 2. 线下退款 3. 退款到余额")
	private String refundPriceType;
	
	@ApiModelProperty(value = "商家主动退款（0否  1是）")
	private Boolean shopActiveRefund;
	
	@ApiModelProperty(value = "商家退款说明")
	private String shopRefundRemark;
	
	private LocalDateTime createdAt;
	
	private LocalDateTime updatedAt;
	
	private String createdBy;
	
	private String updatedBy;
}
